<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 
class Hotel_room_mdl extends CI_Model
{
	
	public function __construct()
	{
		parent::__construct();
	}
	
	public function getHotelRoomInfoByHotelName($p_name)
	{
		$strSql = 'select id,room_type,room_price,room_discount,room_breakfast,room_net,room_air,room_bed from dili_u_m_hotel_room  where hotelid = ",'.$p_name.',"';

		$arr = $this->db->query($strSql)->result_array();
		
		return $arr;
	
	}

	
}
